<?php

namespace app\admin\model;
use think\Model;
use traits\model\SoftDelete;

class User extends Model
{
	use SoftDelete;
	protected $deleteTime = 'delete_time';

	public function getStatusAttr($value)
	{
		$status = [0=>'冻结',1=>'正常'];
		return $status[$value];
	}
}